import { join } from 'path';

export default {
  type: 'mysql',
  host: 'localhost',
  // socketPath: '/tmp/mysql.sock',
  port: 3306,
  username: 'root',
  password: '@WUCANzix4511',
  database: 'blog_back',
  entities: [join(__dirname, '../', 'entity/**{.ts,.js}')],
  // synchronize: true,
  autoLoadEntities: true,
};
